package com.kalaqia.image.glide;

import android.support.annotation.NonNull;

import com.bumptech.glide.load.model.ModelLoader;
import com.bumptech.glide.load.model.ModelLoaderFactory;
import com.bumptech.glide.load.model.MultiModelLoaderFactory;

/**
 * @author kalaqia 421407393@qq.com
 */
public class ImageModelLoaderFactory implements ModelLoaderFactory<String, String> {

    @Override
    public ModelLoader<String, String> build(@NonNull MultiModelLoaderFactory unused) {
        return new ImageModelLoader();
    }

    @Override
    public void teardown() {
        // Do nothing.
    }
}